﻿using System;

using SmallShop.Core;
using SmallShop.Core.Enums;

namespace SmalShop.Model
{
    /// <summary>
    /// 产品
    /// </summary>
    public class ProductModel: BaseModel
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 配图
        /// </summary>
        public string ImgUrl { get; set; }

        /// <summary>
        /// 分类
        /// </summary>
        public long CateId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 是否首页显示
        /// </summary>
        public bool IsShowInHome { get; set; }

        /// <summary>
        /// 权重
        /// </summary>
        public int Weight { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public ProductStatus Status { get; set; }

    }
}
